diff --git a/includes/header.php b/includes/header.php index 4e1dd78..de601d8 100755 --- a/includes/header.php +++ b/includes/header.php @@ -1,72 +1,72 @@ . */ function get_header($uid, $args = []) { - $args = merge_args_defaults($args, [ + $args = array_replace( [ 'theme' => 'default' - ] ); + ], $args ); switch($args['theme']) { case 'default': enqueue_css('materialize'); enqueue_css('materialize.icons'); enqueue_js('jquery'); enqueue_js('materialize'); break; } header("Content-Type: text/html; charset=utf-8"); ?>